require 'rubygems'
gem 'activesupport'
require 'active_support'

class String
  def line_count
    count = 0
    self.each_line { count += 1 }
    count
  end
end

